import React from 'react'
// react17写法:
// import ReactDOM from 'react-dom'
// react18的写法:
import ReactDOM from 'react-dom/client'

import App from './App.jsx'
// react17写法:
// ReactDOM.render(<App></App>, document.getElementById('root'))
// react18的写法
const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(<App></App>)
